#pragma once
#include "visual_data.h"

class VisualRecognition
{
public:
	VisualRecognition();
	~VisualRecognition();

	bool Init(const VisRecogParam param);

	int GetRecognitionResult(const QString& rgb, RecResult& result);

private:
	bool PostRGBFile(const QString& file, QByteArray& result);
	bool TestForServe();
private:
	QString m_path;
	QString m_picPath;
};
